package com.member.common.result;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @description:
 * @author: thomas
 * @create: 2021-12-21 19:01
 **/
@Getter
@AllArgsConstructor
public enum ReturnCode {
    /**
     * ok
     */
    SUCCESS(0, "OK"),
    /**
     * Failed
     */
    FAILED(-1, "Failed"),
    /**
     * Not found
     */
    NOTFOUND(404, "NOT FOUND");

    private final int code;
    private final String message;
}
